# Copyright (c) 2011-2025  Made to Order Software Corp.  All Rights Reserved
#
# https://snapwebsites.org/project/libtld
# contact@m2osw.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.


##
## Documentation
##
project(libtld-documentation)

find_package(SnapDoxygen)
AddDoxygenTarget(
    libtld
    ${LIBTLD_VERSION_MAJOR}
    ${LIBTLD_VERSION_MINOR}
    ${LIBTLD_VERSION_PATCH}
)

##
## A Simple Working Example
##
## Note: not installed, the source is used in the documentation, though.
##
project(example)

add_executable(${PROJECT_NAME}
    example.c
)
target_link_libraries(${PROJECT_NAME}
    tld
)

##
## Sub-directories
##
add_subdirectory(man)

# vim: ts=4 sw=4 et
